using System.Collections;
using System.Collections.Generic;
using GameFramework;
using UnityEngine;

//自动生成于：2020/11/10 17:18:02
namespace StarForce
{

	public partial class FlyTextPage : UGuiForm
	{

		protected override void OnInit(object userdata)
		{
			base.OnInit(userdata);

			GetBindComponents(gameObject);
			
			m_Btn_Choose.onClick.AddListener(Choose);
			
			m_Btn_Close.onClick.AddListener(Close);
		}
		
		
		private void Choose()
		{
			int random = Utility.Random.GetRandom(0, 10000000);
			HpTextData data = ReferencePool.Acquire<HpTextData>().Fill(1,random);
			GameEntry.HPText.Show(data,Vector3.zero, new Vector3(0,120f,0f));
		}
	}
}
